import Vue from 'vue'
// import Vuex from 'vuex'
// Vue.use(Vuex)
let aa = "http://192.168.100.106:8881/top/"
// let aa = "http://192.168.2.14:8081/"
ort  {
 aa,
bb:{
'dd':3
},


 hantQrCode:{ comment:"查询商户信息", url:aa + '/api/merchants/getMerchantQrCode' },
getMerchantInfo:{
				comment:"查询商户信息",
				url:aa + 'api/merchants/getMerchantInfo'
			},
  getMerchCategory:url:aa + 'pi/merchants/getMerchCategory'// comment:"查询商户分类", ,

// here is pay  qr  all sid

  doCardConsumeByQrCode:url:aa + '/api/users/getUserPayQrCode',// comment:"获取用户付款二维码  sid", param: {"payCode":"https://t.aemoney.com:7443/cwpartner/qrcode.htm?QR_TYPE=cGF5bWVudA==&payCode=MjAxNTA1MTQ0ODY0NzY1MjU5","amount":"20"}
  ,

 doCardConsumeByQrCode:{
				comment:"商户扫描用户付款二维码进行收款",
				url:aa + '/api/order/doCardConsumeByQrCode',
				param: {"payCode":"https://t.aemoney.com:7443/cwpartner/qrcode.htm?QR_TYPE=cGF5bWVudA==&payCode=MjAxNTA1MTQ0ODY0NzY1MjU5","amount":"20"}
			},

 getUserOrderInfo:{
				comment:"用户购卡后查询用户订单交易结果",
				url:aa + '/api/order/getUserOrderInfo',
				param: {"orderNo":""}
			},

// here is pay  qr


 getMerchantManagedCards :{
				comment:"商户更新下架的卡",
				url:aa + '/api/merchantCard/getMerchantManagedCards',
				param: {"cardProductInfo":{"state":"normal","name":"card1","price":"1200","quantity":"3000","expireDate":"360","denomination":"150000","cardType":"normal"}}
			},
 updateOfflineCard:{
				comment:"商户更新下架的卡",
				url:aa + '/api/merchantCard/updateOfflineCard',
				param: {"cardProductInfo":{"state":"normal","name":"card1","price":"1200","quantity":"3000","expireDate":"360","denomination":"150000","cardType":"normal"}}
			},
 updateCard:{
				comment:"商户添加卡信息",
				url:aa + '/api/merchantCard/updateCard',
				param: {"cardProductInfo":{"state":"normal","name":"card1","price":"1200","quantity":"3000","expireDate":"360","denomination":"150000","cardType":"normal"}}
			},
 addCard:{
				comment:"商户添加卡信息",
				url:aa + '/api/merchantCard/addCard ',
				param: {"cardProductInfo":{"state":"normal","name":"card1","price":"1200","quantity":"3000","expireDate":"360","denomination":"150000","cardType":"normal"}}
			},
  completinfo:{
				comment:"1.商户注册或登录接口",
				url:aa + 'api/merchants/completeMerchantInfo',
				param: {"merchantInfo":{"mobile":"18815283024"},"smsValidCode":"99999"}
			},
	register:{
				comment:"1.商户注册或登录接口",
				url:aa + 'api/merchants/loginOrRegister',
				param: {"merchantInfo":{"mobile":"18815283024"},"smsValidCode":"99999"}
			},
  saveinfo:{
			  url: 'http://192.168.2.14:8080/merchants/completeBpInfo',
				  postData: {
				  }
			  },
  vertifyCard:{
          comment:"2.商户验证银行卡",
            url:aa + 'api/merchants/verifyCard',
          }

}

// export const storee = new Vuex.Store()
